package com.mind.xagame.message.model;
import java.util.List;
import java.util.ArrayList;
import com.mind.common.MessageCode;
import com.mind.core.net.msg.BaseMessage;
import java.util.Date;
import com.mind.core.annotation.Message;
/**登陆
*自动生成类
*/
@Message
public class CS_LoginMsg extends BaseMessage{
	/**平台id*/
	private String platId;
	/**服务器Id*/
	private String netId;
	public CS_LoginMsg(){}
	public CS_LoginMsg(String platId,String netId){
	  this.platId=platId;
	  this.netId=netId;
	}
	/**获取平台id*/
	public String getPlatId(){
		return this.platId;
	}
	/**获取服务器Id*/
	public String getNetId(){
		return this.netId;
	}
	public boolean readImpl() {
		this.platId=readString();
		this.netId=readString();
		return true;
	}
	public boolean writeImpl() {
		writeString(this.platId);
		writeString(this.netId);
		return true;
	}
	public short getType() {
		return MessageCode.CS_LoginMsg_CODE;
	}
}
